//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package objects;

import java.util.LinkedHashMap;

public class ExpLevelsEntry {
    private final Integer Level;
    private final Integer ExpToNextLevel;
    private final Integer MaxFields;
    private final LinkedHashMap<String, Integer> rewards = new LinkedHashMap();

    public ExpLevelsEntry(Integer Level, Integer ExpToNextLevel, Integer MaxFields) {
        this.Level = Level;
        this.ExpToNextLevel = ExpToNextLevel;
        this.MaxFields = MaxFields;
    }

    public void addReward(String good, Integer amount) {
        this.rewards.put(good, amount);
    }

    public Integer getLevel() {
        return this.Level;
    }

    public Integer getExpToNextLevel() {
        return this.ExpToNextLevel;
    }

    public Integer getMaxFields() {
        return this.MaxFields;
    }

    public LinkedHashMap<String, Integer> getRewards() {
        return this.rewards;
    }

    public String toString() {
        return "Level:" + this.Level + ", ExpToNextLevel:" + this.ExpToNextLevel + ", Rewards: " + this.rewards;
    }
}
